<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/extras/spring-security">

<div class="efbmenu-div" th:fragment="menu">
    <ul class="efbmenu-ul clearfix">
        <li class="efbmenu-ul-li"
            sec:authorize="${hasPermission('','BillingManage') }">
            <a href="#" onclick="showSecondMenu('billingManage')">
                <img th:src="@{/img/billingManage.png}">计费管理
            </a>
            <ul id="billingManage" class="efbli-ul" style="display: block;min-height: 663px;">
                <li sec:authorize="${hasPermission('','BillingRuleManage')}">
                    <a href="/billingrule/tobillingrulemanage" id="billingRuleManage"
                       onclick="selectSecondMenu('billingRuleManage')">计费规则管理</a>
                </li>
                <li sec:authorize="${hasPermission('','ContractUserManage')}">
                    <a href="/contractuser/tocontractusermanage" id="contractUserManage"
                       onclick="selectSecondMenu('contractUserManage')">合同用户管理</a>
                </li>
                <li sec:authorize="${hasPermission('','ChargeBillQuery')}">
                    <a href="/chargebill/tochargebillquery" id="chargeBillQuery"
                       onclick="selectSecondMenu('chargeBillQuery')">未出帐单查询</a>
                </li>
                <li sec:authorize="${hasPermission('','ChargeDetailQuery')}">
                    <a href="/chargedetail/tochargedetailquery" id="chargeDetailQuery"
                       onclick="selectSecondMenu('chargeDetailQuery')">收费明细查询</a>
                </li>
                <li sec:authorize="${hasPermission('','AutomaticProcessingBills')}">
                    <a href="/automaticprocessingbills/toautomaticprocessingbills" id="automaticProcessingBills"
                       onclick="selectSecondMenu('automaticProcessingBills')">自动处理帐单</a>
                </li>
                <li sec:authorize="${hasPermission('','BillingBillQuery')}">
                    <a href="/billingbill/tobillingbillquery" id="billingBillQuery"
                       onclick="selectSecondMenu('billingBillQuery')">计费帐单查询</a>
                </li>
                <li sec:authorize="${hasPermission('','BillingStatisticsQuery')}">
                    <a href="/billingstatistics/tobillingstatisticsquery" id="billingStatisticsQuery"
                       onclick="selectSecondMenu('billingStatisticsQuery')">计费统计</a>
                </li>
                <li sec:authorize="${hasPermission('','BillingDataMove')}">
                    <a href="/billingdatamove" id="billingDataMove"
                       onclick="selectSecondMenu('billingDataMove')">数据同步</a>
                </li>
                <li sec:authorize="${hasPermission('','LogQuery')}">
                    <a href="/log/tologquery" id="logQuery"
                       onclick="selectSecondMenu('logQuery')">日志查询</a>
                </li>
                <li sec:authorize="${hasPermission('','PermissionManage')}">
                    <a href="/permission/topermissionmanage" id="permissionManage"
                       onclick="selectSecondMenu('permissionManage')">权限管理</a>
                </li>
            </ul>
        </li>
    </ul>
</div>
